package com.eamois.service.manual;

import java.util.Collection;

import com.eamois.domain.manual.EnsipEntity;
import com.eamois.domain.manual.EnsipType;
import com.eamois.service.BaseService;


public interface EnsipEntityService extends BaseService<EnsipEntity>{
	EnsipEntity findEnsipEntityByOther(EnsipType ensipType,String name);
	
	Collection<EnsipEntity> findAllEnsipEntity();
	
	Collection<EnsipEntity> findEnsipEntityByOther(EnsipType ensipType,String name,String state);
	
	EnsipEntity findByTiaoJian(String name,EnsipType ensipType,String state);
	
	EnsipEntity findByModelAndName(String model,String name);
	
	Collection<EnsipEntity> findEnsipEntityByType(EnsipType ensipType);
	
	Collection<EnsipEntity> findEnsipEntityByState(String state);
	boolean updateEnsipEntity(int ensipEntityId,String bomName, String bomVar);
}
